import 'package:flutter_deer/generated/json/banner_entity.g.dart';
import 'package:flutter_deer/generated/json/base/json_field.dart';

@JsonSerializable()
class FocusMapDetailEntity {
  FocusMapDetailEntity();

  factory FocusMapDetailEntity.fromJson(Map<String, dynamic> json) =>
      $FocusMapDetailEntityFromJson(json);

  Map<String, dynamic> toJson() => $FocusMapDetailEntityToJson(this);

  int? id;
  String? title;
  String? image;
  int? positionType;
  int? channelId;
  int? viewType;
  String? link;
  String? content;
  int? sort;
  String? status;
}

@JsonSerializable()
class BannerEntity {
  BannerEntity();

  factory BannerEntity.fromJson(Map<String, dynamic> json) =>
      $BannerEntityFromJson(json);

  Map<String, dynamic> toJson() => $BannerEntityToJson(this);

  int? id;
  String? title;
  String? image;
  int? viewType;
}
